/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class ContractTypesEnum extends StringEnum
{
    public static final String OPEN_VALUE = "10";
    public static final String CLOSE_VALUE = "20";

    public static final ContractTypesEnum open = new ContractTypesEnum("open", OPEN_VALUE);
    public static final ContractTypesEnum close = new ContractTypesEnum("close", CLOSE_VALUE);

    /**
     * construct function
     * @param String contractTypesEnum
     */
    private ContractTypesEnum(String name, String contractTypesEnum)
    {
        super(name, contractTypesEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ContractTypesEnum getEnum(String contractTypesEnum)
    {
        return (ContractTypesEnum)getEnum(ContractTypesEnum.class, contractTypesEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ContractTypesEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ContractTypesEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ContractTypesEnum.class);
    }
}